package com.example.control;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Administrator
 */
@RestController
public class User {

    @GetMapping("/hello")
    @ResponseBody
    public String hello(){
        return "hello world";
    }
}
